import {
	setStore,
	getStore,
	removeStore
} from "../store"

export function getUserInfo() {
	let Tenant =
		getStore({
			name: "userInfo"
		}) || ""
	return Tenant
}

export function setUserInfo(value) {
	setStore({
		name: "userInfo",
		content: value,
		type: "session"
	})
}

export function removeUserInfo() {
	removeStore({
		name: "userInfo",
		type: "session"
	})
}